package com.xzgj.api.dto.data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author hxh
 * @version 1.0.0
 * @date 2024/3/7
 */
public class DemoAddDto implements Serializable {

    @NotBlank(message = "name不能为空")
    private String name;

    public DemoAddDto() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "DemoAddDto{" +
                "name='" + name + '\'' +
                '}';
    }
}
